package com.air.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

import lombok.Data;

/**
 * 用户表
 *
 * @author shent
 */
@Data
@TableName(value = "air_user")
public class User {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 用户名
     */
    @TableField(value = "username")
    private String username;

    /**
     * 密码
     */
    @TableField(value = "`password`")
    private String password;

    /**
     * 性别
     */
    @TableField(value = "gender")
    private Integer gender;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 状态
     */
    @TableField(value = "`status`")
    private Integer status;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;
}
